const { defineConfig } = require('@vue/cli-service')
//头部引用
const NodePolyfillPlugin = require('node-polyfill-webpack-plugin')

//加入

module.exports = defineConfig({
  transpileDependencies: true,
  configureWebpack: {
    plugins: [new NodePolyfillPlugin()],
    externals: {
      fs: require('fs')
    }

  }
})
